libxl: IDL: handle generation of pass-by-reference arguments.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 14 Jul 2011 12:22:36 +0000 (13:22 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 14 Jul 2011 12:22:36 +0000 (13:22 +0100)
commit48db030b86f2a6d4ea5f1b5add47da23ca7b59e0
tree563beb60195ef8826f34bb53582412d26b8f5474
parent2cbaaf0d42a2160cd7b6ba6d6cc76aeb7199fd07
libxl: IDL: handle generation of pass-by-reference arguments.

Up until now everything with a destructor function happened to be
pass-by-reference so the current code worked but this will not be the case for
*_to_string and *_to_json. Put some infrastructure in place and use it.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/gentypes.py
tools/libxl/libxl.idl
tools/libxl/libxltypes.py